/**
 * file
 */
package com.tdkj.action.front.member.seller.sell;

import javax.annotation.Resource;

import com.tdkj.action.BaseAction;
import com.tdkj.service.shop.IBeanGoodAuctionService;

public class GoodAuctionAction extends BaseAction {
	
	private Long goodId;

	private IBeanGoodAuctionService goodAuctionService;
	
	public String execute(){
		
		return "success";
	}
	
	public String finish(){
		goodAuctionService.finish(goodId);
		return execute();
	}

	public Long getGoodId() {
		return goodId;
	}

	public void setGoodId(Long goodId) {
		this.goodId = goodId;
	}

	@Resource
	public void setGoodAuctionService(IBeanGoodAuctionService goodAuctionService) {
		this.goodAuctionService = goodAuctionService;
	}

}
